package com.local.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

@Entity
@Table(name = "local_station")
public class LocalStation {
    @NotEmpty
    @Length(min=1,max=32)
    @Column(name = "station_uuid")
    private String stationUuid;

    @NotEmpty
    @Length(min=1,max=128)
    @Column(name = "station_name")
    private String stationName;

    @Column(name = "view_url")
    private String viewUrl;

    @Column(name = "stream")
    private String stream;

    @Column(name = "resolution")
    private String resolution;

    @Column(name = "equipment_view_stream")
    private String equipmentViewStream;

    @Column(name = "vido_uuid")
    private String vidoUuid;

    @Column(name = "status_")
    private Integer status;
    
    //停车场组织ID，用以获取云平台停车场ID
    private String exchangeUuid;
    
    

    public String getExchangeUuid()
	{
		return exchangeUuid;
	}

	public void setExchangeUuid(String exchangeUuid)
	{
		this.exchangeUuid = exchangeUuid;
	}

	public String getStationUuid() {
        return stationUuid;
    }

    public void setStationUuid(String stationUuid) {
        this.stationUuid = stationUuid == null ? null : stationUuid.trim();
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public String getViewUrl() {
        return viewUrl;
    }

    public void setViewUrl(String viewUrl) {
        this.viewUrl = viewUrl == null ? null : viewUrl.trim();
    }

    public String getStream() {
        return stream;
    }

    public void setStream(String stream) {
        this.stream = stream == null ? null : stream.trim();
    }

    public String getResolution() {
        return resolution;
    }

    public void setResolution(String resolution) {
        this.resolution = resolution == null ? null : resolution.trim();
    }

    public String getEquipmentViewStream() {
        return equipmentViewStream;
    }

    public void setEquipmentViewStream(String equipmentViewStream) {
        this.equipmentViewStream = equipmentViewStream == null ? null : equipmentViewStream.trim();
    }

    public String getVidoUuid() {
        return vidoUuid;
    }

    public void setVidoUuid(String vidoUuid) {
        this.vidoUuid = vidoUuid == null ? null : vidoUuid.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}